<template>
  <div>
    <p :class="bgColor">{{message}}</p>
    <HelloWorld :mes="message" ></HelloWorld>

  </div>
</template>
<script>
  import HelloWorld from './helloWorld.vue'
  export default{
    name:"myRouter",
    components:{
      "HelloWorld":HelloWorld
    },
    data(){
      return{
        message:"helloRouter",
        bgColor:"bgColor"

      }
    }

  }
</script>
<style scoped>
.bgColor{
  color: #4169E1;
}
</style>
